<script>
  import { Spinner } from 'sveltestrap/src';
</script>

<style>
  .loading {
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
</style>

<div class="loading">
  <Spinner style="width: 3rem; height: 3rem;" color="primary" type="grow"/>
</div>